Chain UIDs
Queries the factory address, unique identifier (UID), name and logo for a specified chain using its chain ID.
query Chain_uids($chainId: String!) {
chains {
chain_uids(chain_id: $chainId) {
factory_address
chain_uid
display_name
logo
}
}
}
Example
curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{"query":"query Chain_uids($chainId: String!) {\n chains {\n chain_uids(chain_id: $chainId) {\n factory_address\n chain_uid\n display_name\n logo\n }\n }\n}","variables":{"chainId":"nibiru-testnet-1"}}'
Arguments
- chainId (String!): The unique identifier of the chain.
Return Fields
Field | Type | Description |
---|---|---|
factory_address | String | The address of the factory contract. |
chain_uid | String | The unique identifier (UID) of the chain. |
display_name | String | The display name of the chain. |
logo | String | The URL or reference to the chain's logo image. |